package org.alex.samples.service;

import java.util.List;

import org.alex.samples.model.ExamScore;
import org.alex.samples.model.ExamScoreVO;
import org.alex.samples.model.ExamSubScoreVO;
import org.alex.samples.model.ExamSubjectVO;
import org.alex.samples.model.ShowExamScore;
import org.alex.samples.model.Sub;
import org.alex.samples.model.User;

public interface ISubService {
	public List<ExamSubjectVO> findAllSubs();

	public Sub getSubById(int id);
	
	public void createSub(Sub sub) throws Exception;
	
	public void editSub(Sub sub) throws Exception;
	
	public void deleteSub(int id) throws Exception;

	public List<String> getAllUserBySubject(Integer subjectId);

	public void saveSubjectStudent(List<String> subjectStudents, Integer subjectId) throws RuntimeException;

	public List<ExamSubScoreVO> getAllUserSubs(User userVO);

	public ExamScoreVO getScoreById(Integer scoreId);

	public List<ExamScoreVO> findAllScore();

	public List<ExamScoreVO> getAllScoreBysubId(int subId);
}
